﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.DirectoryServices.AccountManagement;

namespace CoHSIN.Controllers
{
    public abstract class ApplicationController : Controller
    {
        
        public ApplicationController()
        {
            List<Models.Page> Pages = Globals.cohsinDB.Pages.Select(p => p).ToList();
            
            ViewData["pages"] = Pages;

            ViewData["userName"] = Globals.UserName;
            
        }

    }
}
